package com.pp.dao;

import com.pp.model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentDao {
    List<Student> findAll();

    void update(Student student);

    void delete(Student student);

    void insert(Student student);

    Student selectById(Integer id);
}
